import Skeleton from './Skeleton/index.vue'
import Slider from './Slider/index.vue'
import More from './More/index.vue'
import Bread from './Bread/index.vue'
import BreadItem from './Bread/Item.vue'
import City from './City/index.vue'
import Count from './Count/index.vue'
import Button from './Button/index.vue'
import CheckBox from './CheckBox/index.vue'
import ImageView from './ImageView/index.vue'
import Sku from './Sku/index.vue'
import Dialog from './Dialog/index.vue'
// import InfiniteLoad from './InfiniteLoad/index.vue'
import Tabs from './Tabs/index.vue'
import TabPane from './Tabs/pane.vue'
import { App } from 'vue-demi'

const perfix = 'Xtx'
export default {
  install (app: App) {
    app.component(perfix + 'Skeleton', Skeleton)
    app.component(perfix + 'Slider', Slider)
    app.component(perfix + 'More', More)
    app.component(perfix + 'Bread', Bread)
    app.component(perfix + 'BreadItem', BreadItem)
    app.component(perfix + 'ImageView', ImageView)
    app.component(perfix + 'City', City)
    app.component(perfix + 'Sku', Sku)
    app.component(perfix + 'Count', Count)
    app.component(perfix + 'Button', Button)
    app.component(perfix + 'CheckBox', CheckBox)
    app.component(perfix + 'Dialog', Dialog)
    app.component(perfix + 'Tabs', Tabs)
    app.component(perfix + 'TabPane', TabPane)
    // app.component(InfiniteLoad.name, InfiniteLoad)
  }
}
